function func(){
  console.log('任意函数')
}

func.prototype.pfun = () => 'wsj'

for(key in func.prototype) {
  console.log(key) // pfun
}

const arrowFn = () => {}

console.log(arrowFn.prototype)